
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>

</head>
<body>

<script>
	<!-- 名片必填项提示
	function CheckInput()
	{
		if (1=="1"){if(document.all.lName.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '联系人不能为空!'});document.all.lName.focus();return false;}}
		if (0=="1"){if(document.all.lSex.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '性别不能为空!'});document.all.lSex.focus();return false;}}
		if (0=="1"){if(document.all.lZhiwei.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '职位不能为空!'});document.all.lZhiwei.focus();return false;}}
		if (0=="1"){if(document.all.lBirthday.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '生日不能为空!'});document.all.lBirthday.focus();return false;}}
		if (1=="1"){if(document.all.lMobile.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '手机号码不能为空!'});document.all.lMobile.focus();return false;}}
		if (0=="1"){if(document.all.lweixin.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '微信不能为空!'});document.all.lweixin.focus();return false;}}
		if (0=="1"){if(document.all.lEmail.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '电子邮箱不能为空!'});document.all.lEmail.focus();return false;}}
		if (0=="1"){if(document.all.lQQ.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: 'QQ不能为空!'});document.all.lQQ.focus();return false;}}
		if (0=="1"){if(document.all.lContent.value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '备注说明不能为空!'});document.all.lContent.focus();return false;}}
	}
	-->
	</script>

<!----------------------------------------修改名片开始----------------------------------------> 
<!----------------------------------------修改名片开始---------------------------------------->
<div class="cssout">
  <form class="layui-form" name="save" action="?action=Mingpian&stype=saveEdit&LaiLu=" method="post" onSubmit="return CheckInput();">
    <div class="cssin">
      <ul>
        <li class="w100 bg"><dd class="isin"><B>修改名片</B></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          
          <font color="#FF0000">*</font>
          联系人</dd></li>
        <li class="w75"><dd class="isin">
          <input type="text" class="bor int" name="lName" id="lName" size="20" maxlength="20" value="23" /></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          性别</dd></li>
        <li class="w75"><dd class="isin">
  <select name="lSex" id="Select_Sex"><option value="">请选择</option><option value="先生">先生</option><option value="女士">女士</option></select></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          职位</dd></li>
        <li class="w75"><dd class="isin">
  <select name="lZhiwei" id="Select_Zhiwei" style='border:1px solid #f00;'><option value="">请选择</option><option value="负责人">负责人</option><option value="决策人">决策人</option></select>
          <a class="btn1 btnxinz" onclick='Select_Zhiwei("set_select_add.asp?action=select_add&stype=add&otype=Select_Zhiwei&LaiLu=")'><i class="fadd fa-plus-square"></i>新增</a>
          
          <script>function Select_Zhiwei(Dourl) {$.dialog.open(Dourl, {title: '新增选项值', width: 500, height: 400,fixed: true}); };</script></dd>
        </li>
        <li class="w25 bg cl tr"><dd class="isin">
          
          <font color="#FF0000">*</font>
          手机号码</dd></li>
        <li class="w75"><dd class="isin">
          <input name="lMobile" type="text" class="bor int" id="lMobile" size="30" value="" /></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          微信</dd></li>
        <li class="w75"><dd class="isin">
          <input name="lweixin" type="text" class="bor int" id="lweixin" size="30" value="" /></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          QQ</dd></li>
        <li class="w75"><dd class="isin">
          <input name="lQQ" type="text" class="bor int" id="lQQ" size="30" value="213" /></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          电子邮箱</dd></li>
        <li class="w75"><dd class="isin">
          <input name="lEmail" type="text" class="bor int" id="lEmail" size="30" value="" /></dd></li>
        <li class="w25 bg cl tr"><dd class="isin">
          生日</dd></li>
        <li class="w75"><dd class="isin">
          <input name="lBirthday" type="text" id="lBirthday" class="int Wdate" size="20" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value=""  />
        </dd></li>
        <li class="w25 bg cl duohang tr"><dd class="isin">
          备注说明</dd></li>
        <li class="w75 duohang"><dd class="isin">
          <textarea name="lContent" rows="4" id="lContent" class="bor textarea" style="height:65px;width:98%;"></textarea></dd>
        </li>
        <div class="clear"></div>  
      </ul>
    </div>
    <div class="h50b"></div>
    <div class="fixed_bg_B">
      <input name="lID" type="hidden" value="9">
      <input name="cID" type="hidden" value="8">
      <input name="YNUpdate" type="hidden" value="">
      <input type="submit" name="Submit" class="btn2 btnbaoc" value="保存">
      <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
    </div>
  </form>
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
